import request from '@/utils/request'
const groupName = 'log'

export function deleteById(data) {
    return request({
        url: `/${groupName}/delete/${data}`,
        method: 'delete',
    })
}

export function get(data) {
    return request({
        url: `/${groupName}/get/${data}`,
        method: 'get'
    })
}

export function getByPage(data) {
    return request({
        url: `/${groupName}/getByPage`,
        method: 'post',
        data
    })
}